package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.po.MaintenanceRecord;
import cn.topevery.garden.entity.query.MaintenanceRecordQuery;
import cn.topevery.garden.entity.vo.MaintenanceRecordVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

/**
 * 保养记录
 *
 * @author code-generate
 * @date 2022-02-17
 */
public interface MaintenanceRecordDao extends BaseDao<MaintenanceRecord> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<MaintenanceRecordVO> listPage(MaintenanceRecordQuery query);

    MaintenanceRecord getEntityByColumn(String key, String value);

    Integer getId(String recordCode);
}
